class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception
  include SessionHelper

  def authenticate?
    redirect_to root_url unless logged_in?
  end
end
